import org.springframework.stereotype.Controller;

@Controller
public class User {
    public User() {
        System.out.println("执行User构造方法");
    }

    public String sayHi() {
        return "Hi,User!";
    }
}
